<?php
require_once 'class/control.class.php';
ob_start();
?>
<div id="quebramar">&nbsp;</div>
<div id="conteudo" class="centro">
	<div id="left" style="width:240px;background: #DDD; border-radius:5px; padding-left: 5px;">
		<?php 
		$obj = new Control('menu','subcategorias','');
		$obj->Lister();
		?>
	</div>
	<div id="right" style="width:680px;">
		<?php 
		if($_GET['c']){
			$obj = new Control('categorias','produtos',array(0 => 'c', 1 => $_GET['c']));
		}elseif($_GET['s']){
			$obj = new Control('categorias','produtos',array(0 => 's', 1 => $_GET['s']));
		}
		$obj->Lister();
		?>
	</div>
</div>
<?php
$conteudo = ob_get_contents();
ob_get_clean();
include ("master.php");
?>